package com.itheima.unchange_collection;

import java.util.List;

/**
 * @author Anomaly
 * @date 2023/2/6 14:45
 */
public class CollectionDemo {
    public static void main(String[] args) {
        //不可变集合
        List<Double> list = List.of(569.5, 700.5, 205.5, 450.0);
        //list.add(45.5);
        //list.clear();
        System.out.println(list);
    }
}
